package com.ximi.ximimall.goods.controller;

import com.ximi.ximimall.common.util.ResponseUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author 西米的风
 * @description TODO
 * @date 2022-10-23 21:17
 */
@RestController
@RequestMapping("/wx/home")
public class AboutController {

    @RequestMapping("/about")
    public Object about() {
        Map<String, Object> about = new HashMap<>();
        about.put("name", "西米的测试小商城");
        about.put("address", "中国深圳");
        about.put("phone", "156xxxxxxxx");
        about.put("qq", "316252847");
        about.put("longitude", "xxxxxxxx");
        about.put("latitude", "ximiximi");
        return ResponseUtil.ok(about);
    }
}
